//
//  LYTabBar.h
//  iphoneApp
//
//  Created by Liyu on 13-1-21.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LYTabBar;

@protocol LYTabBarDelegate <NSObject>
@optional

-(void)lyTabBar:(LYTabBar *)tabBar didSelectItemIndex:(NSInteger) index;


@end

@interface LYTabBar : UIView
{
    
}

@property(nonatomic,assign) NSMutableArray * tabBarItmesArray;
@property(nonatomic,retain) UIImageView * backgroundImageView;
@property(nonatomic,retain) NSArray * buttons;
@property(nonatomic,assign) id<LYTabBarDelegate> delegate;


-(void) setTabBarWithItems:(NSArray *) tabBarItems;

@end

